package com.sjc.springbootdemo.service;

import com.sjc.springbootdemo.domain.User;

import java.util.List;

/**
 * @Classname UserService
 * @Description 用户管理模块的service组件接口
 * @Date 2020/4/23 15:04
 * @Created by SangJiacun
 */
public interface UserService {
    List<User> listUsers();
    User getUserById(Long userId);
    Long saveUser(User user);
    Integer updateUser(User user);
    Integer removeUser(Long userId);
}
